homepage Welcome to WebmasterWorld Guest from 107.20.37.62
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Where to find PHP.ini file?
Trying to install "Zend" on my 1&1 Linux server...
chris surfrider




msg:971097
 1:34 am on Apr 1, 2006 (gmt 0)

Hey guys,

I'm trying to install "Zend Optimizer" for PHP 4.x

I have a linux server with 1and1.com, and this is what their FAQ says to do:
----------------------------------------------

1. Download the Zend Optimizer from [link] (for Linux glibc 2.1)

2. Unzip the files locally on your computer. (tar -xvzf "the tar file")

3. Go to the folder where the Zend Optimizer has been unpacked. Go to "data" directory. Here you can see various folders named according to PHP versions, e.g.
4_4_1_comp. Go the the directory of your choice. The important file is "ZendOptimizer.so"

5. Upload this file into a directory of your choice within your webspace.

6. Change the php.ini file to include the following text:

zend_optimizer.optimization_level=15
zend_extension=/homepages/12/d1234567/htdocs/ZendOptimizer.so

-----------------------------------------------------

I don't know how to change - or even FIND - the "php.ini" file.

I don't even know what it is.

Where do you think it would be?

Thanks in advance,

-Chris

 

Tastatura




msg:971098
 1:39 am on Apr 1, 2006 (gmt 0)

it should be in your ' /public_html/ ' directory (or equivalent on your syst).
See if this helps you
[php.net ]

chris surfrider




msg:971099
 1:52 am on Apr 1, 2006 (gmt 0)

That's what I would've thought too.

It's not, though.

I have no idea how to access this...

-Chris

coopster




msg:971100
 1:58 am on Apr 1, 2006 (gmt 0)

You could try
locate php.ini from the command line or use the find command.
upside




msg:971101
 7:16 am on Apr 1, 2006 (gmt 0)

The following command will output the path to the php.ini file being used:

# php -i grep php.ini

(make sure to fix the pipe symbol in the code above. WW breaks those just to make our lives more...interesting.)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved