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
php install problem
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
try ./configure --help
TheWitness
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?
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?
it's a single line
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
$ ./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
Thanks!
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!
Thanks again!
Who is online
Users browsing this forum: No registered users and 7 guests