New here? Register and read our Community Rules. Accounts are approved by hand.

Command Question

Hi I am looking for a command that let's me create a file and put one line in it, that can be ran in SSH.

Basically I'm writing a script that will install httpd and php and phpmyadmin and mysql and ioncube.

I have everything done except this ioncube part.

I need the command to make a file called 20ioncube.ini in /etc/php.d and put this in it

zend_extension = /usr/lib64/php/modules/ioncube_loader_lin_5.3.so

Comments

  • echo "Text" > 20ioncube.ini

  • StacyStacy Member
    edited September 2014

    @Nekki said:
    echo "Text" > 20ioncube.ini

    Thank you. works perfectly

    echo "zend_extension = "/usr/lib64/php/modules/ioncube_loader_lin_5.3.so" > /usr/lib64/php/modules/20ioncube.ini

  • Or cat

Sign In or Register to comment.