Re: [PHP] Re: Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
At 03:25 AM 7/23/2004, you wrote:
Sounds like you've done everything correctly, just PHP wasn't installed as a
CLI. Just to be sure, do a $ find / -name php
Is it ok to have PHP installed as both CLI and as a module?
Then, if it is found, $ lynx -source http://go-pear.org/ | /path/to/php
If it's not found, just grap a PHP rpm (make sure it's a CLI version,
or --with-cli) and install that.
Hope that's helpful,
Aidan
Thanks for the help,
-- Ron

"Ron King" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL
> installed correctly. I could serve web pages, MySQL ...
...snip...
> things started to be not OK after all.
>
> phpinfo() told me that the 'Configure Command' had both the following in
it:
> --with-pear=/usr/share/pear
> --without-pear
>
> So I tried to install pear manually, and when I tried the command:
 ...snip...
> Here's my question: Should I just uninstall Apache and reinstall it, then
> install php and pear? Should I compile Apache myself? If I do that, I'm
not
> sure of all the configuration options I should choose. Or should I just
> install the new rpms that I think I want, and rpmdrake will make
everything
> work nicely together?
>
> Sorry if this is too Mandrake-centric, but I'd like to use RPMs if
> possible, I'm hoping that makes it easier to upgrade in the future.
>
> Thanks,  Ron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
At 06:28 AM 7/23/2004, you wrote:
You need php-cli rpm, it's not an extension, it's command line binary.
And it won't hurt anything to have both cli and extension installed?
-- Ron
Ron King wrote:
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL 
installed correctly. I could serve web pages, MySQL worked, and when I 
tried the phpinfo() function, I got a page that looked OK. I could create 
simple php pages and serve them up. Then I tried to install pear, and 
things started to be not OK after all.
phpinfo() told me that the 'Configure Command' had both the following in it:
--with-pear=/usr/share/pear
--without-pear
So I tried to install pear manually, and when I tried the command:
$ lynx -source http://go-pear.org/ | php
I got the following response:
bash: php: command not found
I went looking for the executable so I could run it from that directory, 
and I couldn't find it anywhere.
I apparently have the following rpms installed:
apache2-2.0.48-6.3.100mdk
apache2-common-2.0.48-6.3.100mdk
apache2-manual-2.0.48-6.3.100mdk
apache2-mod_cache-2.0.48-6.3.100mdk
apache2-mod_disk_cache-2.0.48-6.3.100mdk
apache2-mod_perl-2.0.48_1.99_11-3mdk
apache2-mod_php-2.0.48_4.3.4-1mdk
apache2-mod_proxy-2.0.48-6.3.100mdk
apache2-mod_ssl-2.0.48-6.3.100mdk
apache2-mod_suexec-2.0.48-1mdk
apache2-modules-2.0.48-6.3.100mdk
apache-conf-2.0.48-2mdk
Also the following php-related rpms:
libphp_common432-4.3.4-4.1.100mdk
php-imap-4.3.4-1mdk
php-ini-4.3.4-1mdk
php-mysql-4.3.4-1mdk
php-xml-4.3.4-1mdk
php-xmlrpc-4.3.4-1mdk
When I use rpmdrake to search for other packages to install, I see the 
following choices:
mod_php-4.3.4-1mdk
php432-devel-4.3.4-4.1.100mdk
php432-devel-4.3.4-4mdk
php-calendar-4.3.4-1mdk
php-cgi-4.3.4-4.1.100mdk
php-cgi-4.3.4-4mdk
php-dbg-4.3.4_2.11.5-1mdk
php-manual-en-4.3.4-1mdk
phpMyAdmin-2.5.4-1mdk
php-pear-4.3.4-3mdk
php-pear-Date-1.4-4mdk
php-pear-HTML_Common-1.2.1-3mdk
php-pear-HTML_Select-1.2-3mdk
There are a bunch of other php modules available, but I don't think I 
need them right away.
Here's my question: Should I just uninstall Apache and reinstall it, then 
install php and pear? Should I compile Apache myself? If I do that, I'm 
not sure of all the configuration options I should choose. Or should I 
just install the new rpms that I think I want, and rpmdrake will make 
everything work nicely together?
Sorry if this is too Mandrake-centric, but I'd like to use RPMs if 
possible, I'm hoping that makes it easier to upgrade in the future.
Thanks,  Ron

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Re: [newbie] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
At 01:35 AM 7/23/2004, you wrote:
I don't know about mdk10, but I have pear and php running fine on mdk9.2.
I don't recall having to add anything to the *.conf files to do it either.
If you are going to try piping output to php from the command line, 
perhaps you should install php-cgi first.
I didn't know if it was OK to have both the cli and the module/extension 
installed at the same time. The references I have seen make it seem like 
you need to choose one or the other.

regards
Franki
Thanks,
-- Ron

Ron King wrote:
Hi all,
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL 
installed correctly. I could serve web pages, MySQL worked, and when I 
tried the phpinfo() function, I got a page that looked OK. I could create 
simple php pages and serve them up. Then I tried to install pear, and 
things started to be not OK after all.
phpinfo() told me that the 'Configure Command' had both the following in it:
--with-pear=/usr/share/pear
--without-pear
So I tried to install pear manually, and when I tried the command:
$ lynx -source http://go-pear.org/ | php
I got the following response:
bash: php: command not found
I went looking for the executable so I could run it from that directory, 
and I couldn't find it anywhere.
I apparently have the following rpms installed:
apache2-2.0.48-6.3.100mdk
apache2-common-2.0.48-6.3.100mdk
apache2-manual-2.0.48-6.3.100mdk
apache2-mod_cache-2.0.48-6.3.100mdk
apache2-mod_disk_cache-2.0.48-6.3.100mdk
apache2-mod_perl-2.0.48_1.99_11-3mdk
apache2-mod_php-2.0.48_4.3.4-1mdk
apache2-mod_proxy-2.0.48-6.3.100mdk
apache2-mod_ssl-2.0.48-6.3.100mdk
apache2-mod_suexec-2.0.48-1mdk
apache2-modules-2.0.48-6.3.100mdk
apache-conf-2.0.48-2mdk
Also the following php-related rpms:
libphp_common432-4.3.4-4.1.100mdk
php-imap-4.3.4-1mdk
php-ini-4.3.4-1mdk
php-mysql-4.3.4-1mdk
php-xml-4.3.4-1mdk
php-xmlrpc-4.3.4-1mdk
When I use rpmdrake to search for other packages to install, I see the 
following choices:
mod_php-4.3.4-1mdk
php432-devel-4.3.4-4.1.100mdk
php432-devel-4.3.4-4mdk
php-calendar-4.3.4-1mdk
php-cgi-4.3.4-4.1.100mdk
php-cgi-4.3.4-4mdk
php-dbg-4.3.4_2.11.5-1mdk
php-manual-en-4.3.4-1mdk
phpMyAdmin-2.5.4-1mdk
php-pear-4.3.4-3mdk
php-pear-Date-1.4-4mdk
php-pear-HTML_Common-1.2.1-3mdk
php-pear-HTML_Select-1.2-3mdk
There are a bunch of other php modules available, but I don't think I 
need them right away.
Here's my question: Should I just uninstall Apache and reinstall it, then 
install php and pear? Should I compile Apache myself? If I do that, I'm 
not sure of all the configuration options I should choose. Or should I 
just install the new rpms that I think I want, and rpmdrake will make 
everything work nicely together?
Sorry if this is too Mandrake-centric, but I'd like to use RPMs if 
possible, I'm hoping that makes it easier to upgrade in the future.
Thanks,  Ron

--
rgds
Frank Hauptle (aka Franki)
For free scripts, online webmaster tools, HTML, XHTML, Perl & PHP 
tutorials and stuff, visit:
http://htmlfixit.com   Free web developer resources.

Please sign our petition to encourage notebook manufacturers to offer 
video card upgrades just like desktops.
http://www.petitiononline.com/inspiron/petition.html



Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] Re: Trouble with Apache, PHP, pear

2004-07-24 Thread Ron King
Matthew (and Marek),
>>Sounds like you've done everything correctly, just PHP wasn't installed
>> as a
>>CLI. Just to be sure, do a $ find / -name php
>
> Is it ok to have PHP installed as both CLI and as a module?
>
It is perfectly okay to have both. I'm using both on a server I have.
I installed the CLI rpm, and was then able to install pear. Now I just need 
to get the path situation straightened out.

Thanks for the help,
-- Ron 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Trouble with Apache, PHP, pear

2004-07-23 Thread Ron King
When I installed Mandrake 10.0 I thought I had Apache, PHP, and MySQL 
installed correctly. I could serve web pages, MySQL worked, and when I 
tried the phpinfo() function, I got a page that looked OK. I could create 
simple php pages and serve them up. Then I tried to install pear, and 
things started to be not OK after all.

phpinfo() told me that the 'Configure Command' had both the following in it:
--with-pear=/usr/share/pear
--without-pear
So I tried to install pear manually, and when I tried the command:
$ lynx -source http://go-pear.org/ | php
I got the following response:
bash: php: command not found
I went looking for the executable so I could run it from that directory, 
and I couldn't find it anywhere.

I apparently have the following rpms installed:
apache2-2.0.48-6.3.100mdk
apache2-common-2.0.48-6.3.100mdk
apache2-manual-2.0.48-6.3.100mdk
apache2-mod_cache-2.0.48-6.3.100mdk
apache2-mod_disk_cache-2.0.48-6.3.100mdk
apache2-mod_perl-2.0.48_1.99_11-3mdk
apache2-mod_php-2.0.48_4.3.4-1mdk
apache2-mod_proxy-2.0.48-6.3.100mdk
apache2-mod_ssl-2.0.48-6.3.100mdk
apache2-mod_suexec-2.0.48-1mdk
apache2-modules-2.0.48-6.3.100mdk
apache-conf-2.0.48-2mdk
Also the following php-related rpms:
libphp_common432-4.3.4-4.1.100mdk
php-imap-4.3.4-1mdk
php-ini-4.3.4-1mdk
php-mysql-4.3.4-1mdk
php-xml-4.3.4-1mdk
php-xmlrpc-4.3.4-1mdk
When I use rpmdrake to search for other packages to install, I see the 
following choices:

mod_php-4.3.4-1mdk
php432-devel-4.3.4-4.1.100mdk
php432-devel-4.3.4-4mdk
php-calendar-4.3.4-1mdk
php-cgi-4.3.4-4.1.100mdk
php-cgi-4.3.4-4mdk
php-dbg-4.3.4_2.11.5-1mdk
php-manual-en-4.3.4-1mdk
phpMyAdmin-2.5.4-1mdk
php-pear-4.3.4-3mdk
php-pear-Date-1.4-4mdk
php-pear-HTML_Common-1.2.1-3mdk
php-pear-HTML_Select-1.2-3mdk
There are a bunch of other php modules available, but I don't think I need 
them right away.

Here's my question: Should I just uninstall Apache and reinstall it, then 
install php and pear? Should I compile Apache myself? If I do that, I'm not 
sure of all the configuration options I should choose. Or should I just 
install the new rpms that I think I want, and rpmdrake will make everything 
work nicely together?

Sorry if this is too Mandrake-centric, but I'd like to use RPMs if 
possible, I'm hoping that makes it easier to upgrade in the future.

Thanks,  Ron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] Problems with realpath()

2006-01-31 Thread Ron King

Hi,

My hosting isp just upgraded from 4.3.1 to 4.4.1, and some of the 
tools I use (from InterAKT) no longer work.


After doing quite a bit of research, I've seen a few bugs regarding 
realpath(), but none related to 4.4.1.


When I try the following:



With version 4.4.0, I get the following answer:

4.4.0
/web
/web/realpath.php

But on version 4.4.1 I get a fatal error:

4.4.1
/data/...  <-- different server, therefore different path, of course
Fatal error: Call to undefined function: realpath() in /data/...).

I'm too much of a newbie to know what to do on my own. Is this 
something my ISP has turned off?


Thanks for any help,

-- Ron

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php