I want to use a cheap €30,-/year Linux hostingprovider for providing some oData from a MySQL-database
This is the only project that comes near. Using
is no solution for me.
I tried to just follow the written guidelines and ran into several messages:
"PHP Fatal error: Call-time pass-by-reference has been removed in .../MySQLConnector.php on line 379"
As I am not a PHP star yet I fixed this by following a tutorial to compile an older version of PHP (5.3.29), of which I was lucky to find the source somewhere. I used
to get me PHP 5.3.
The next error I got was
"Error: include_once(Doctrine/DBAL/DriverManager.php): failed to open stream: No such file or directory."
After some browsing and trying I found a file DoctrineDBAL-2.1.7-full.tar.gz which contained the sources of the right versions, as the newest Doctrine does not even contain EventManager.php, which is the next issue you run into.
To link these sources to MySQLConnector.php you have to add te right set_include_path statements in this file:
set_include_path(get_include_path() . PATH_SEPARATOR . '/home/admin/DoctrineDBAL-2.1.7/Doctrine/Common/');
Only then this old source is willing to create the promised set of files. I'm now going to continue further until I got the odata from PHP, which requires still another step.