php install problem

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
bbader
Posts: 2
Joined: Wed Nov 24, 2004 6:23 pm

php install problem

Post by bbader »

I am going through the install How-To for Linux written by lee carter and have run into a problem. Stepping through the Install PHP section, the following command does not work for me:
path=/www/php --enable-sockets --with-mysql=/usr/local/mysql --with-zlib-

I keep getting : -bash: --enable-sockets: command not found

I am not familiar with Linux enough to know what how to fix or get around this error. Can someone help?

Thanks
Bryan
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

try ./configure --help

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
zanaguara
Cacti User
Posts: 60
Joined: Tue Nov 16, 2004 10:33 am
Location: Spain

it's a single line

Post by zanaguara »

try:

$ ./configure --prefix=/some_path --with-apxs2=/some_path \
> --with-config-file-path=/some_path --enable-sockets --with-mysql=/mysql_path \
> --with-zlib-dir=/some_path --with-gd
$ make
$ make install
bbader
Posts: 2
Joined: Wed Nov 24, 2004 6:23 pm

Thanks!

Post by bbader »

Thanks for both replys. trying ./configure --help did not list the --enable-sockets command at all, but trying it as one long line did not produce the error and I can continue on. Thanks for the help. I should have tried that before asking I guess, but I did not want to risk ruining the entire install if I did something outside of the instructions.

Thanks again!
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests