Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PHP5 shell interpreter or other ideas? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
codemaker
Guru
Guru


Joined: 03 Jun 2004
Posts: 398
Location: Lisboa, Portugal

PostPosted: Wed Jan 18, 2006 10:50 pm    Post subject: PHP5 shell interpreter or other ideas? [SOLVED] Reply with quote

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 10:47 pm; edited 1 time in total
Back to top
View user's profile Send private message
reinhrst
n00b
n00b


Joined: 19 Jan 2006
Posts: 2

PostPosted: Thu Jan 19, 2006 1:34 am    Post subject: Reply with quote

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
View user's profile Send private message
iamben
Apprentice
Apprentice


Joined: 10 May 2004
Posts: 275

PostPosted: Thu Jan 19, 2006 7:33 am    Post subject: Reply with quote

use dev-lang/php-5.*, and enable the "cli" use flag
Back to top
View user's profile Send private message
codemaker
Guru
Guru


Joined: 03 Jun 2004
Posts: 398
Location: Lisboa, Portugal

PostPosted: Thu Jan 19, 2006 8:59 am    Post subject: Reply with quote

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
View user's profile Send private message
codemaker
Guru
Guru


Joined: 03 Jun 2004
Posts: 398
Location: Lisboa, Portugal

PostPosted: Thu Jan 19, 2006 10:46 pm    Post subject: Reply with quote

SOLVED. Thanks! :D
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Tue Feb 21, 2006 10:24 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this topic.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum