| View previous topic :: View next topic |
| Author |
Message |
codemaker Guru


Joined: 03 Jun 2004 Posts: 397 Location: Lisboa, Portugal
|
Posted: Wed Jan 18, 2006 5:50 pm Post subject: PHP5 shell interpreter or other ideas? [SOLVED] |
|
|
Hi!
I'm wondering if there are any php programmers around here that can give me some tips...
I'm no PHP expert but I have a website all programmed in PHP that I want to rebuild to make use of object oriented programming. I have already installed PHP5 since it has some more features regarding OOP. PHP5 and apache are working fine together. My current website loads just as fine with PHP5 as with would with PHP4.
My problem is that I used to run the php shell interpreter to run, verify syntax and debug my PHP4 scripts and now, I can't seem to find anything similar for PHP5. There's no dev-php/php-5* ebuild!
Does it have any other name? Do you use PHP5? How do you debug and verify you php files syntax without using a webbrowser?
Thanks!
Last edited by codemaker on Thu Jan 19, 2006 5:47 pm; edited 1 time in total |
|
| Back to top |
|
 |
reinhrst n00b

Joined: 18 Jan 2006 Posts: 2
|
Posted: Wed Jan 18, 2006 8:34 pm Post subject: |
|
|
As far as I recall, the mod_php and the php ebuilds have been moved to one (then again, this may only be true if you follow one specific way of upgrading).
For now, I would say, just try php -v at the command line and check what happens... |
|
| Back to top |
|
 |
iamben Apprentice

Joined: 09 May 2004 Posts: 152
|
Posted: Thu Jan 19, 2006 2:33 am Post subject: |
|
|
| use dev-lang/php-5.*, and enable the "cli" use flag |
|
| Back to top |
|
 |
codemaker Guru


Joined: 03 Jun 2004 Posts: 397 Location: Lisboa, Portugal
|
Posted: Thu Jan 19, 2006 3:59 am Post subject: |
|
|
| iamben wrote: | | use dev-lang/php-5.*, and enable the "cli" use flag |
Ah! I'll try that as soon as I get home.  |
|
| Back to top |
|
 |
codemaker Guru


Joined: 03 Jun 2004 Posts: 397 Location: Lisboa, Portugal
|
Posted: Thu Jan 19, 2006 5:46 pm Post subject: |
|
|
SOLVED. Thanks!  |
|
| Back to top |
|
 |
tomk Administrator


Joined: 23 Sep 2003 Posts: 4549 Location: Sat in front of my computer
|
|
| Back to top |
|
 |
|