Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
ssh your.hostname.com

or

ssh 111.111.111.111
 

Where 111.111.111.111 is your main server IP

The system will ask you for a user and password. The username is "root" (no quotes1)

The password is the root password. You will now be connected to your server.

next type:

Code Block
cd /usr/local/lib/


then

cp php.ini php.iniBACKUP

...


which makes a backup of the original file

Next type:

Code Block
piconano php.ini

...


You have now opened pico which is a Linux text editor.

Now you can modify the variables that you need.

When you are done press ctrl+x and when it asks if you want to save the modified buffer type "y" (no quotes needed) and press enter to save the new php.ini

Then type:

Code Block
service httpd restart
 


This will load the new php configuration into Apache.

 

 



Content by Label
showLabelsfalse
max5
spacesGKB
showSpacefalse
sortmodifiedshowSpacefalse
reversetrue
typepage
cqllabel in ("php","mac","global","osx","ini") and type = "page" and space = "GKB"
labelsglobal php ini Mac OSX

Page properties
hiddentrue
Related issues