New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
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
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