[PHP] PHP CMS
Guys I'm doing some research trying to find a good PHP based CMS. As there a quite a few, I would really like to get your opinions so I can narrow the search down. We were using Webedit Pro, but have found it a pain not to be able to use Firefox with it. Thanks for your input. Trell -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Oracle Question
xfedex, yes you can connect to a remote Oracle DB, I'm doing for an app I'm trying to write. You have to configure php with the oracle version you have, more than likely with the --with-oci8=/u1/oracle/product/10g line, of course your oracle location will differ. I chose to use the PEAR::DB to do my oracle stuff instead of the oci calls. This made it simple, and easy to read for me as I'm still learning. The code looks cleaner also. xfedex ([EMAIL PROTECTED]) wrote: Hi, Can PHP connect to a remote Oracle db? Because all oracle connecting functions only require 'user' and 'pass' http://us3.php.net/manual/en/function.oci-connect.php http://us3.php.net/manual/en/function.ora-plogon.php Thanks, Regards, pancarne. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Restarting windows from php
First off, windows has no clue what a fork is, much less the command 'shutdown -r -t 01'. You can get a windows based version here for windows 2000, http://support.microsoft.com/default.aspx?scid=kb;en-us;317371sd=tech If you on windows xp or 2003 servers I'm not sure how this will work now that MS in there infinate wisdom has implemented the shutdown/ reboot logging stuff where you have to tell it why your rebooting or shutting it down. (IMHO the dumbest thing ever) From personal experiance I would test this on a local machine first before putting it on a production system, as they don't always act the way you intend them to. Second, why are you having to reboot the system? Is an application stopping or something else like that because it would be easier to restart the service / application than rebooting the sytem if thats the case. Karl-Heinz Christian Zeck ([EMAIL PROTECTED]) wrote: I don't want to restart windows locally, I want to restart it remotely. I need a php script that restarts the server. Is this possible or not? On 8/10/05, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Does anyone have any idea how to restart windows from a php script? I tried the following: exec('SHUTDOWN -r -t 01'); or exec('SHUTDOWN /r'); I received the following warning message: Warning: exec(): Unable to fork [SHUTDOWN -r -t 01]. I never used this kind of functions before. What's wrong? In IIS for Execute Permissions I have Scripts and Executables. What permissions should I set for the Internet Guest Account? Or something else caused the problem, not the permissions? Please help me.:) [/snip] Everyone, repeat after me.. PHP is server-side, there's no place like home, PHP is server-side, there's no place like home, PHP is server-side, there's no place like home.. If you are trying to restart Windows, locally, you have to use something client-side to affect that. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Re[2]:[PHP] Restarting windows from php
Richard, thanks for the pointer on the shutdown command, nice to see them implement that in 2k3 and XP, I don't use them on a regular base and sure don't use them in server environment. As for the fork, windows can't preform a fork of a process. There are API's out there that can do this for windows such as perls Win32::Process, or using the MKS Toolkit, i think the developer or interopertablility versions will do this. If you have documents showing that windows can do a fork, I would like to read about it, however the last time I checked this was not possible, maybe they are trying to implement this, if so thats great, it will be a plus for them. Thanks, Richard Davey ([EMAIL PROTECTED]) wrote: Hello Joseph, Wednesday, August 10, 2005, 3:26:05 PM, you wrote: JO First off, windows has no clue what a fork is, A fork is several different things, and there's no reason why Windows cannot implement a fork via its standard APIs. JO much less the command 'shutdown -r -t 01'. -r = Shutdown with restart -t = Set the timeout for shutdown (xx seconds) 01 = The timeout value Open a command prompt, type in it. Best regards, Richard Davey -- http://www.launchcode.co.uk - PHP Development Services Zend Certified Engineer I do not fear computers. I fear the lack of them. - Isaac Asimov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP Install with MySQL in 64 bit libraries.
Martin, Make a symlink from /usr/lib64 to /usr/lib and it should work just fine. Joe Martin McGinn ([EMAIL PROTECTED]) wrote: I installed MySQL 4.23 using SuSE provided rpms so it loads to /usr/lib64 How do I configure the php 5.0 configure script so that it finds the mysql client in here while finding other objects in the /urs/local/. Currently the link fails as it does not find the mysql client so files. Thanks Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP 5.0.4 on AMD64
that chcon did the trick, thanks. Joe Joseph Oaks ([EMAIL PROTECTED]) wrote: Thanks, I will give that a try, and let you know. Joe Holografix ([EMAIL PROTECTED]) wrote: Hi Take a look here: http://forums.fedoraforum.org/showthread.php?t=59163 I had that problem too. Regards holografix Joseph Oaks [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] So, heres the deal, I'm running Fedora Core 3 on an dual proc AMD64 system. I have compiled Apache 2.0.54, and PHP 5.0.4, when I try to start apache I am given an error. The error is as follows... [EMAIL PROTECTED] conf]# /etc/rc.d/init.d/httpd start Starting httpd: Syntax error on line 24 of /opt/apache-2.0.54/conf/httpd.conf: Cannot load /opt/apache-2.0.54/modules/libphp5.so into server: /opt/apache-2.0.54/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied The only thing I'm finding on google is about /usr/lib64 well I don't have a /usr/lib64, its just /usr/lib so that can't be the issue. Any suggestion would be appreciated. thanks Joe -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Computers are like air conditioners - they stop working properly when you open Windows -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP 5.0.4 on AMD64
So, heres the deal, I'm running Fedora Core 3 on an dual proc AMD64 system. I have compiled Apache 2.0.54, and PHP 5.0.4, when I try to start apache I am given an error. The error is as follows... [EMAIL PROTECTED] conf]# /etc/rc.d/init.d/httpd start Starting httpd: Syntax error on line 24 of /opt/apache-2.0.54/conf/httpd.conf: Cannot load /opt/apache-2.0.54/modules/libphp5.so into server: /opt/apache-2.0.54/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied The only thing I'm finding on google is about /usr/lib64 well I don't have a /usr/lib64, its just /usr/lib so that can't be the issue. Any suggestion would be appreciated. thanks Joe -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP 5.0.4 on AMD64
Thanks, I will give that a try, and let you know. Joe Holografix ([EMAIL PROTECTED]) wrote: Hi Take a look here: http://forums.fedoraforum.org/showthread.php?t=59163 I had that problem too. Regards holografix Joseph Oaks [EMAIL PROTECTED] escreveu na mensagem news:[EMAIL PROTECTED] So, heres the deal, I'm running Fedora Core 3 on an dual proc AMD64 system. I have compiled Apache 2.0.54, and PHP 5.0.4, when I try to start apache I am given an error. The error is as follows... [EMAIL PROTECTED] conf]# /etc/rc.d/init.d/httpd start Starting httpd: Syntax error on line 24 of /opt/apache-2.0.54/conf/httpd.conf: Cannot load /opt/apache-2.0.54/modules/libphp5.so into server: /opt/apache-2.0.54/modules/libphp5.so: cannot restore segment prot after reloc: Permission denied The only thing I'm finding on google is about /usr/lib64 well I don't have a /usr/lib64, its just /usr/lib so that can't be the issue. Any suggestion would be appreciated. thanks Joe -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Computers are like air conditioners - they stop working properly when you open Windows -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php