I've installed PHP on a Linux machine but can't seem to find the 'modules' directory from PHP.
On Mac with MAMP installed, this folder is located in ~/Applications/MAMP/bin/php/php5.3.6/
, but I can't figure out where this folder is installed on Linux, with yum
.
Anyone who nows where yum installs these PHP-directory?
Edit: some more information about the environment
I'm working with Amazon EC2 on an Amazon Linux AMI (ami-1624987f).
But while developing, I've used Ubuntu and installed everything (Apache, PHP, MySQL) via apt-get
.
The installation was done by yum install php php-devel php-mysql
Now, when moving the application to EC2, seems like apt is not available on this AMI and I have to use yum. Seems like the yum installation is different from apt because I can't find the folder as described above.
Edit2: conclusion
There were more issues so at the end I've switched from Amazon Linux to Ubuntu where I also could use apt-get. But the answer from chanthemanless works. Thanks everyone!