It looks like you stopped piratebox completely in order to connect to the internet. I assume you did something like this:
This will unmount /mnt/usb which is where php and the php modules get installed. That's why the "-d piratebox" is in the opkg install command. Probably the easiest way (as far as I know) to keep piratebox running and everything mounted but still connect to the internet is (after editing network settings and restarting the router) runnning:
This will stop piratebox from handling dns and will allow the router out to the internet as long as you have the network setup correctly. If you restart the router you'll need to rerun that command. After running it, ping google.com to make sure you have a connection to the internet.
/etc/init.d/piratebox stop
This will unmount /mnt/usb which is where php and the php modules get installed. That's why the "-d piratebox" is in the opkg install command. Probably the easiest way (as far as I know) to keep piratebox running and everything mounted but still connect to the internet is (after editing network settings and restarting the router) runnning:
/etc/init.d/piratebox nodns
This will stop piratebox from handling dns and will allow the router out to the internet as long as you have the network setup correctly. If you restart the router you'll need to rerun that command. After running it, ping google.com to make sure you have a connection to the internet.